//
//  TMVodLoader.h
//  Cordova
//
//  Created by cy on 2022/12/23.
//

#import <Foundation/Foundation.h>
#import <VODUpload/VODUploadClient.h>
#import <VODUpload/VODUploadModel.h>

NS_ASSUME_NONNULL_BEGIN

@class TMVodLoaderModel;

@interface TMVodLoader : NSObject

+ (instancetype)instance;

@property (nonatomic, copy) void(^VideoFinishCallbackFunc)(VodUploadResult* result);
///上传地址
@property (nonatomic, copy) NSString * UploadAddress;
///上传凭证
@property (nonatomic, copy) NSString * UploadAuth;
///VideoId
@property (nonatomic, copy) NSString * VideoId;
///是否开启vod转码（默认关闭）
@property (nonatomic, assign) BOOL trancodeEnable;

- (void)loadVideoFilePath:(NSString *)filePath;
@end

@interface TMVodLoaderModel : NSObject

@property (nonatomic, copy) NSString * UploadAddress;

@property (nonatomic, copy) NSString * VideoId;

@property (nonatomic, copy) NSString * RequestId;

@property (nonatomic, copy) NSString * UploadAuth;

@end

NS_ASSUME_NONNULL_END
